package com.sany.taskmanager.room.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * 本地数据库：存储任务录入的信息
 */
@Entity(tableName = "task_info")
public class LocalTaskInfo {
    /**
     * 主键：自增
     */
    @PrimaryKey(autoGenerate = true)
    private long id;
    /**
     * 工厂编码
     */
    private String factoryCode;
    /**
     * 任务编码：相同的任务编码为同一车型带出的物料清单
     */
    private String taskNumber;
    /**
     * 车型号
     */
    private String carModelNum;
    /**
     * 物料编号
     */
    private String materialNum;
    /**
     * 物料名称
     */
    private String materialName;
    /**
     * 颜色类型
     */
    private int colorType;
    /**
     * 颜色名称
     */
    private String colorName;
    /**
     * 颜色编码
     */
    private String colorCode;
    /**
     * 颜色色值
     */
    private String colorValue;
    /**
     * 颜色类型：臂头
     */
    private int headColorType;
    /**
     * 颜色名称：臂头
     */
    private String headColorName;
    /**
     * 颜色编码：臂头
     */
    private String headColorCode;
    /**
     * 颜色色值：臂头
     */
    private String headColorValue;
    /**
     * 数量
     */
    private int count;
    /**
     * 大臂类型：0-普通，1-新品
     */
    private int boomType;
    /**
     * 是否选中
     */
    private boolean selected;

    public String getFactoryCode() {
        return factoryCode;
    }

    public void setFactoryCode(String factoryCode) {
        this.factoryCode = factoryCode;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTaskNumber() {
        return taskNumber;
    }

    public void setTaskNumber(String taskNumber) {
        this.taskNumber = taskNumber;
    }

    public String getMaterialNum() {
        return materialNum;
    }

    public void setMaterialNum(String materialNum) {
        this.materialNum = materialNum;
    }

    public int getColorType() {
        return colorType;
    }

    public void setColorType(int colorType) {
        this.colorType = colorType;
    }

    public String getColorName() {
        return colorName;
    }

    public void setColorName(String colorName) {
        this.colorName = colorName;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getBoomType() {
        return boomType;
    }

    public void setBoomType(int boomType) {
        this.boomType = boomType;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public String getCarModelNum() {
        return carModelNum;
    }

    public void setCarModelNum(String carModelNum) {
        this.carModelNum = carModelNum;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getColorCode() {
        return colorCode;
    }

    public void setColorCode(String colorCode) {
        this.colorCode = colorCode;
    }

    public int getHeadColorType() {
        return headColorType;
    }

    public void setHeadColorType(int headColorType) {
        this.headColorType = headColorType;
    }

    public String getHeadColorName() {
        return headColorName;
    }

    public void setHeadColorName(String headColorName) {
        this.headColorName = headColorName;
    }

    public String getHeadColorCode() {
        return headColorCode;
    }

    public void setHeadColorCode(String headColorCode) {
        this.headColorCode = headColorCode;
    }

    public String getColorValue() {
        return colorValue;
    }

    public void setColorValue(String colorValue) {
        this.colorValue = colorValue;
    }

    public String getHeadColorValue() {
        return headColorValue;
    }

    public void setHeadColorValue(String headColorValue) {
        this.headColorValue = headColorValue;
    }
}
